package listener.other;

public class TaskEvent implements DcEvent {
    private int id;
    private int targetProcess;

    public TaskEvent(int id, int targetProcess) {
        this.id = id;
        this.targetProcess = targetProcess;
    }

    @Override
    public boolean taggerEvent(int eventId, int process) {
        return process >= targetProcess;
    }

    public int getId() {
        return id;
    }
}
